Automattic\Jetpack\Publicize\Connections S

Total Complexity 44
Dependencies 7
Dependents 8
Total lines 362
Lines of code 168
Logical lines of code 93
Comment lines 118
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
wpcom_get_connections()
S
53 7 20
fetch_and_cache_connections()
S
61 4 13
get_test_status()
S
60 4 13
get_all()
S
61 4 12
wpcom_create_connection()
S
58 3 16
wpcom_update_connection()
S
58 3 16
wpcom_delete_connection()
S
58 3 16
get_all_for_user()
S
64 4 10
user_owns_connection()
S
63 4 9
wpcom_prepare_connection_data()
S
52 2 23
get_by_id()
S
65 3 9
is_shared()
S
78 1 3
fetch_site_connections()
S
72 1 5
clear_cache()
S
80 1 3